package com.btr.uimeter.probes;

import java.awt.Component;

/*****************************************************************************
 * Defines a Component filter used by UIMeterProbe implementations to
 * reduce the amount of events generated.
 *   
 * @author Bernd Rosstauscher (java@rosstauscher.de) Copyright 2010
 ****************************************************************************/

public interface UIMeterComponentFilter {

	/*************************************************************************
	 * Checks a component and accepts it or rejects it.
	 * @param src the component.
	 * @return true if the component is accepted false if it should be excluded.
	 ************************************************************************/
	
	public boolean accept(Component src);

}
